//封装框架的主子页面的路由
export default {
  path: '/Index',
  name: 'Index',
  component: () => import('@/components/Index'),
  redirect: '/Student',
  menuShow:true,
  hasChild:true,
  meta: { title: '首頁' },
  children: [{
      path: '/Student',
      name: 'Student',
      component: () => import('@/components/Student'),
      meta: { title: '學生列表' }
    },
    {
      path: '/Add',
      name: 'Add',
      component: () => import('@/components/Add'),
      meta: { title: '添加学生' }
    },
    {
      path: '/Update',
      name: 'Update',
      component: () => import('@/components/Update'),
      meta: { title: '修改学生管理' }
    },
    {
      path: '/Course',
      name: 'Course',
      component: () => import('@/components/Course'),
      meta: { title: '课程列表' }
    },
    {
      path: '/Cascader',
      name: 'Cascader',
      component: () => import('@/components/Cascader'),
      meta: { title: '级联选择器' }
    },
    {
      path: '/WangEditor',
      name: 'WangEditor',
      component: () => import('@/components/WangEditor'),
      meta: { title: '富文本编辑器' }
    },
    {
      path: '/Upload1',
      name: 'Upload1',
      component: () => import('@/components/Upload1'),
      meta: { title: '上传文件1' }
    },
    {
      path: '/Upload2',
      name: 'Upload2',
      component: () => import('@/components/Upload2'),
      meta: { title: '上传文件2' }
    },
    {
      path: '/Carousel',
      name: 'Carousel',
      component: () => import('@/components/Carousel'),
      meta: { title: '跑马灯' }
    },
    {
      path: '/TimeLine',
      name: 'TimeLine',
      component: () => import('@/components/TimeLine'),
      meta: { title: '时间线' }
    },
    {
      path: '/MainLayout',
      name: 'MainLayout',
      component: () => import('@/components/MainLayout'),
      meta: { title: 'MainLayout' }
    },
    {
      path: '/baidumap',
      name: 'baidumap',
      component: () => import('@/components/baidumap'),
      meta: { title: '百度地图' }
    },
    {
      path: '/baidumap2',
      name: 'baidumap2',
      component: () => import('@/components/baidumap2'),
      meta: { title: '百度地图2' }
    },
    {
      path: '/QrCode',
      name: 'QrCode',
      component: () => import('@/components/QrCode'),
      meta: { title: '二维码' }
    },
    {
      path: '/Echarts',
      name: 'Echarts',
      component: () => import('@/components/Echarts'),
      meta: { title: 'Echarts' }
    },
    {
      path: '/Echarts2',
      name: 'Echarts2',
      component: () => import('@/components/Echarts2'),
      meta: { title: 'Echarts2' }
    },
  ]
}
